package com.springboot02amqp.amqp.bean;

public class Book {
    private String bookname;
    private String author;

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Book()
    {

    }
    public Book(String bookname,String author)
    {
        this.bookname=bookname;
        this.author=author;
    }
}
